package com.zbkj.crmeb.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.PageParamRequest;
import com.github.pagehelper.PageInfo;
import com.zbkj.crmeb.user.model.UserInviteReward;
import com.zbkj.crmeb.user.model.UserMonthBuy;
import com.zbkj.crmeb.user.request.UserMonthBuyRequest;
import com.zbkj.crmeb.user.vo.UserMonthBuyVO;

import java.util.List;

/**
 * 用户当月复购表 服务类
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
public interface UserMonthBuyService extends IService<UserMonthBuy> {

    UserMonthBuy getByUserIdDate(Integer userId,String curDate);

    PageInfo<UserMonthBuyVO> getList(UserMonthBuyRequest request, PageParamRequest pageParamRequest);

    List<UserMonthBuyVO> findAll(UserMonthBuyRequest request);
}
